//
//  LoadingView.m
//  CarTown
//
//  Created by xionghao on 15/8/17.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import "LoadingView.h"

@interface LoadingView ()
@property (weak, nonatomic) IBOutlet UIActivityIndicatorView *loadingview;

@end

@implementation LoadingView
+(instancetype)loading{
    LoadingView *loading=[[[NSBundle mainBundle]loadNibNamed:@"LoadingView" owner:nil options:nil]lastObject];
    
    return loading;
}

-(void)setTintcolor:(UIColor *)tintcolor{
    _tintcolor=tintcolor;
    self.loadingview.tintColor=_tintcolor;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
